home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 123 / CD Gamer Issue 123 (June 2003) (Disc 1).ISO / Games / Dev_Demo_EU / data1.cab / App_Executables / System / DCharActions.u / ScriptText42.TextBuffer < prev    next >
Unknown  |  2003-02-28  |  517 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 7b 07 63 6c 61 73 73 20 |........|{.class |
|00000010| 44 43 41 63 74 69 6f 6e | 5f 44 72 6f 70 57 65 61 |DCAction|_DropWea|
|00000020| 70 6f 6e 20 65 78 74 65 | 6e 64 73 20 44 43 68 61 |pon exte|nds DCha|
|00000030| 72 41 63 74 69 6f 6e 3b | 0d 0a 0d 0a 76 61 72 28 |rAction;|....var(|
|00000040| 41 63 74 69 6f 6e 29 20 | 62 6f 6f 6c 20 62 50 6c |Action) |bool bPl|
|00000050| 61 79 65 72 20 20 20 20 | 22 6d 61 6b 65 20 70 6c |ayer |"make pl|
|00000060| 61 79 65 72 20 64 72 6f | 70 20 77 65 61 70 6f 6e |ayer dro|p weapon|
|00000070| 22 3b 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 53 |";....fu|nction S|
|00000080| 74 61 72 74 41 63 74 69 | 6f 6e 28 29 0d 0a 7b 0d |tartActi|on()..{.|
|00000090| 0a 20 20 20 20 6c 6f 63 | 61 6c 20 44 47 61 6d 65 |. loc|al DGame|
|000000a0| 50 6c 61 79 65 72 20 50 | 6c 61 79 65 72 3b 0d 0a |Player P|layer;..|
|000000b0| 0d 0a 20 20 20 20 69 66 | 20 28 20 62 50 6c 61 79 |.. if| ( bPlay|
|000000c0| 65 72 20 29 0d 0a 20 20 | 20 20 7b 0d 0a 09 09 50 |er ).. | {....P|
|000000d0| 6c 61 79 65 72 20 3d 20 | 44 47 61 6d 65 50 6c 61 |layer = |DGamePla|
|000000e0| 79 65 72 28 47 65 74 42 | 6f 74 28 29 2e 4c 65 76 |yer(GetB|ot().Lev|
|000000f0| 65 6c 2e 47 61 6d 65 2e | 46 69 6e 64 48 75 6d 61 |el.Game.|FindHuma|
|00000100| 6e 50 6c 61 79 65 72 28 | 29 29 3b 0d 0a 09 09 69 |nPlayer(|));....i|
|00000110| 66 20 28 20 50 6c 61 79 | 65 72 3f 20 29 0d 0a 09 |f ( Play|er? )...|
|00000120| 09 09 50 6c 61 79 65 72 | 2e 54 68 72 6f 77 57 65 |..Player|.ThrowWe|
|00000130| 61 70 6f 6e 28 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |apon();.|. }..|
|00000140| 20 20 20 20 65 6c 73 65 | 0d 0a 20 20 20 20 7b 0d | else|.. {.|
|00000150| 0a 20 20 20 20 20 20 20 | 20 47 65 74 42 6f 74 28 |. | GetBot(|
|00000160| 29 2e 43 6f 6d 6d 65 6e | 74 28 20 22 21 21 20 54 |).Commen|t( "!! T|
|00000170| 68 72 6f 77 69 6e 67 20 | 77 65 61 70 6f 6e 22 40 |hrowing |weapon"@|
|00000180| 47 65 74 42 6f 74 28 29 | 2e 57 65 61 70 6f 6e 20 |GetBot()|.Weapon |
|00000190| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 69 66 20 28 |);.. | if (|
|000001a0| 20 47 65 74 42 6f 74 28 | 29 2e 57 65 61 70 6f 6e | GetBot(|).Weapon|
|000001b0| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 20 20 20 20 | != None| ).. |
|000001c0| 20 20 20 20 20 20 20 20 | 47 65 74 42 6f 74 28 29 | |GetBot()|
|000001d0| 2e 54 68 72 6f 77 57 65 | 61 70 6f 6e 28 29 3b 0d |.ThrowWe|apon();.|
|000001e0| 0a 20 20 20 20 7d 0d 0a | 0d 0a 20 20 20 20 46 69 |. }..|.. Fi|
|000001f0| 6e 69 73 68 41 63 74 69 | 6f 6e 28 29 3b 0d 0a 7d |nishActi|on();..}|
|00000200| 0d 0a 0d 0a 00 | |..... | |
+--------+-------------------------+-------------------------+--------+--------+